SPI Status Register. This register shows the status of the SPI.
RESERVED | Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. |
ABRT | Slave abort. When 1, this bit indicates that a slave abort has occurred. This bit is cleared by reading this register. |
MODF | Mode fault. when 1, this bit indicates that a Mode fault error has occurred. This bit is cleared by reading this register, then writing the SPI0 control register. |
ROVR | Read overrun. When 1, this bit indicates that a read overrun has occurred. This bit is cleared by reading this register. |
WCOL | Write collision. When 1, this bit indicates that a write collision has occurred. This bit is cleared by reading this register, then accessing the SPI Data Register. |
SPIF | SPI transfer complete flag. When 1, this bit indicates when a SPI data transfer is complete. When a master, this bit is set at the end of the last cycle of the transfer. When a slave, this bit is set on the last data sampling edge of the SCK. This bit is cleared by first reading this register, then accessing the SPI Data Register. Note: this is not the SPI interrupt flag. This flag is found in the SPINT register. |
RESERVED | Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined. |